// 用户中心相关接口

import request from "@/utils/request.js";

/**
 * 获取自己的用户信息
 */
export function getBaseUserInfo() {
	return request.get('work/my/info');
}

/**
 * 设计师提交审核信息
 * 
 */
export function designerAuditSubmit(formData) {
	return request.post('work/designer/audit/submit', formData);
}


/**
 * 居间人提交审核信息
 * 
 */
export function betweenAuditSubmit(formData) {
	return request.post('work/intermediary/audit/submit', formData);
}


/**
 * 获取用户身份审核状态
 */
export function getUserIdentityStatus() {
	return request.get('work/user/status');
}


/**
 * 确认创作者身份
 */
export function confirmCreator() {
	return request.get('work/user/confirm_creator');
}